package com.jboltai.capability.vdb.types.elasticsearch;

import com.jboltai.resource.embedding.EmbeddingModel;
import com.jboltai.resource.vdb.VDBResource;

import static com.jboltai.resource.vdb.VDBType.ELASTIC_SEARCH;

public class ElasticSearchVDBResource extends VDBResource {

    private Client client = null;

    public ElasticSearchVDBResource(String id, String url, String username, String password, EmbeddingModel embeddingModel) {
        super(id, ELASTIC_SEARCH, url, username, password, embeddingModel);
        client = new Client(this);
    }

    public Client getClient() {
        return this.client;
    }
}
